package org.enhance.web.model.bo;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

import java.util.List;

@Getter
@Setter
public class Network {

	private String displayName;

	private List<String> hostAddresses;

	@Override
	public String toString() {
		return "网络接口名：" + displayName + "，地址：" + StringUtils.join(hostAddresses, ", ");
	}

}
